/*
 * CCIS
 * (C) Copyright Code MZ, Ltd. 2014,  All Rights Reserved.
 */
package com.beetlestech.nfe.main.biz.com.dto;

/**
 * Get User Message Information Biz DTO
 *
 * History
 * REV.         Updated Date           Updater              Infomation
 * -------      ---------------        ----------------     ------------------
 * 1.0          2014/11/11             TOOL                 Create
*
 */
@com.beetlestech.nfe.fw.core.type.AliasKanJi("Get User Message Information")
public class MessageInfoDTO implements java.io.Serializable, Comparable<MessageInfoDTO> {
	private static final long serialVersionUID = 1L;

	private Integer msgId = null;

	private Integer fatherMsgId = null;

	private String titel = null;

	private String message = null;

	private Integer senderId = null;
	
	private String senderName = null;

	private Integer receiveId = null;
	
	private String receiveName = null;

	private java.sql.Date sendDT = null;

	private java.sql.Time sendTime = null;

	private Integer readflg = null;

	public Integer getMsgId() {
		return this.msgId;
	}

	public void setMsgId(
			Integer msgId) {
		this.msgId = msgId;
	}

	public Integer getFatherMsgId() {
		return this.fatherMsgId;
	}

	public void setFatherMsgId(
			Integer fatherMsgId) {
		this.fatherMsgId = fatherMsgId;
	}

	public String getTitel() {
		return this.titel;
	}

	public void setTitel(
			String titel) {
		this.titel = titel;
	}

	public String getMessage() {
		return this.message;
	}

	public void setMessage(
			String message) {
		this.message = message;
	}

	public Integer getSenderId() {
		return this.senderId;
	}

	public void setSenderId(
			Integer senderId) {
		this.senderId = senderId;
	}
	
	public String getSenderName() {
		return this.senderName;
	}

	public void setSenderName(
			String senderName) {
		this.senderName = senderName;
	}

	public Integer getReceiveId() {
		return this.receiveId;
	}

	public void setReceiveId(
			Integer receiveId) {
		this.receiveId = receiveId;
	}
	
	public String getReceiveName() {
		return this.receiveName;
	}

	public void setReceiveName(
			String receiveName) {
		this.receiveName = receiveName;
	}

	public java.sql.Date getSendDT() {
		return this.sendDT;
	}

	public void setSendDT(
			java.sql.Date sendDT) {
		this.sendDT = sendDT;
	}

	public java.sql.Time getSendTime() {
		return this.sendTime;
	}

	public void setSendTime(
			java.sql.Time sendTime) {
		this.sendTime = sendTime;
	}

	public Integer getReadflg() {
		return this.readflg;
	}

	public void setReadflg(
			Integer readflg) {
		this.readflg = readflg;
	}

  	/* (non-Javadoc)
     * @see java.lang.Comparable#compareTo(java.lang.Object)
     */
    @Override
    public int compareTo(
    		MessageInfoDTO compareToDTO) {
        return this.equals(compareToDTO) ? 0 : -1;
    }
}
